package com.test.test_rest.miner_pool.mapper.gen;

import com.test.test_rest.miner_pool.domain.SysNews;
import com.test.test_rest.miner_pool.domain.gen.SysNewsCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SuperSysNewsMapper {
    long countByExample(SysNewsCriteria example);

    int deleteByExample(SysNewsCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(SysNews record);

    int insertSelective(SysNews record);

    List<SysNews> selectByExampleWithBLOBs(SysNewsCriteria example);

    List<SysNews> selectByExample(SysNewsCriteria example);

    SysNews selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SysNews record, @Param("example") SysNewsCriteria example);

    int updateByExampleWithBLOBs(@Param("record") SysNews record, @Param("example") SysNewsCriteria example);

    int updateByExample(@Param("record") SysNews record, @Param("example") SysNewsCriteria example);

    int updateByPrimaryKeySelective(SysNews record);

    int updateByPrimaryKeyWithBLOBs(SysNews record);

    int updateByPrimaryKey(SysNews record);
}